home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>12.2.  Depth Merge</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="filters-combine.html" title="12.  Combine Filters" />
- <link rel="prev" href="filters-combine.html" title="12.  Combine Filters" />
- <link rel="next" href="plug-in-film.html" title="12.3.  Film" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">12.2. 
- <span lang="en" xml:lang="en">Depth Merge</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="filters-combine.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">12. 
- <span lang="en" xml:lang="en">Combine Filters</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="plug-in-film.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="plug-in-depth-merge"></a>12.2. 
- <span lang="en" xml:lang="en">Depth Merge</span>
- </h3>
- </div>
- <div>
- <div class="revhistory">
- <table border="1" width="100%" summary="Revision history">
- <tr>
- <th align="left" valign="top" colspan="3">
- <b>Revision History</b>
- </th>
- </tr>
- <tr>
- <td align="left">Revision $Revision: 2438 $</td>
- <td align="left">2006-12-09</td>
- <td align="left">j.h</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2778201" class="indexterm"></a>
- <a id="id2778219" class="indexterm"></a>
- <p>
- Depth Merge is a Combine Filter which is useful to combine two different
- pictures or layers. You can decide which part of every image or layer will
- stay visible.
- </p>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2778236"></a>12.2.1. 
- <span lang="en" xml:lang="en">Overview</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- Every image is associated with a map which works as a mask. Simply
- create this map as a grayscale gradient: when applied onto the image,
- dark areas of the mask will show the underlying image and bright areas
- will mask the image.
- </p>
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Note">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Note]" src="../images/note.png" />
- </td>
- <th align="left">Note</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- To work with this filter, images and maps must have the same size.
- All images to be selected must be present on screen.
- </p>
- <p>
- You can also use this filter on an image with several layers. All
- layers will appear in the drop-down lists used to select images.
- These layers must have the same size.
- </p>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2778277"></a>12.2.2. 
- <span lang="en" xml:lang="en">Accessing this Filter</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- You can find this filter through
- <span class="guimenu">Filters</span> ‚Üí <span class="guisubmenu">Combine</span> ‚Üí <span class="guimenuitem">Depth Merge</span>
- </p>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2778318"></a>12.2.3. 
- <span lang="en" xml:lang="en">Options</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2778329"></a>
- <p class="title">
- <b>Figure 16.276. 
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/filters/depthmerge-options.png" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Source 1, Source 2</span>
- </dt>
- <dd>
- <p>
- Defines the source images to use for the blending.
- </p>
- </dd>
- <dt>
- <span class="term">Depth Map</span>
- </dt>
- <dd>
- <p>
- Define the picture to use as transformation maps for the sources.
- </p>
- </dd>
- <dt>
- <span class="term">Overlap</span>
- </dt>
- <dd>
- <p>Creates soft transitions between images.</p>
- </dd>
- <dt>
- <span class="term">Offset</span>
- </dt>
- <dd>
- <p>
- This option shifts the merging limit, giving more or less
- importance to an image against the other.
- </p>
- </dd>
- <dt>
- <span class="term">Scale 1, Scale 2</span>
- </dt>
- <dd>
- <p>
- Same as above for Offset, but more sensitive and applied to each
- map separately. When you scale to a lower value, it will affect
- the map image's value, making it darker. So, black is more
- dominant in the merge and you will see more of the image.
- </p>
- </dd>
- </dl>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2778456"></a>12.2.4. 
- <span lang="en" xml:lang="en">Using example</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- Maps are grayscale gradients created with the
- <a class="link" href="gimp-tool-blend.html" title="3.4.  Blend">Blend tool</a> and modified with the
- <a class="link" href="gimp-tool-curves.html" title="5.7.  Curves">Curve tool</a>.
- </p>
- <div class="figure">
- <a id="id2778489"></a>
- <p class="title">
- <b>Figure 16.277. 
- <span lang="en" xml:lang="en">Source images and their maps</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/filters/examples/depthmerge-source-image1.png" alt="Source images and their maps" />
- <div class="caption">
- <p>Source image 1</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/depthmerge-source-image2.png" alt="Source images and their maps" />
- <div class="caption">
- <p>Source image 2</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/depthmerge-source-map1.png" alt="Source images and their maps" />
- <div class="caption">
- <p>Map 1</p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/depthmerge-source-map2.png" alt="Source images and their maps" />
- <div class="caption">
- <p>Map 2</p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <p>
- You can understand what's going on. Image-1 is treated by map-1: the red
- square is masked and the yellow square remains visible. Image-2 is
- treated by map-2: the red circle is masked and the green circle remains
- visible. In total, the green circle and the yellow square stay visible.
- </p>
- <div class="figure">
- <a id="id2778603"></a>
- <p class="title">
- <b>Figure 16.278. 
- <span lang="en" xml:lang="en">Results</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/filters/examples/depthmerge-results-none.png" alt="Results" />
- <div class="caption">
- <p>
- <span class="emphasis"><em>No offset and no overlap</em></span>.
- The limit between both images is sharp and is situated
- in the middle of the mask gradient.
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/depthmerge-results-offset.png" alt="Results" />
- <div class="caption">
- <p>
- <span class="emphasis"><em>Offset</em></span> = 0.980 : the limit, sharp,
- is shifted so that the image2 area is increased.
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/depthmerge-results-overlap.png" alt="Results" />
- <div class="caption">
- <p>
- <span class="emphasis"><em>Overlap</em></span>: the limit is blurred.
- </p>
- </div>
- </div>
- <div class="mediaobject">
- <img src="../images/filters/examples/depthmerge-results-scale.png" alt="Results" />
- <div class="caption">
- <p>
- <span class="emphasis"><em>Scale 1</em></span>
- reduced to 0.056 : as with Offset, the limit is shifted. Image-1
- area is increased.
- </p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="filters-combine.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="filters-combine.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="plug-in-film.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="filters-combine.html">12. 
- <span lang="en" xml:lang="en">Combine Filters</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="plug-in-film.html">12.3. 
- <span lang="en" xml:lang="en">Film</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-